import {postReq,getReq,successStatus} from "@/common/request"


export const getSuccessStatus=()=>successStatus

/**日志分页查询的请求  */
export const getLogPageApi=(body:PageReqParams<LogType>):Promise<PageResponseData<LogType>>=>postReq("/admin/log/page",body)

/**日志详情的请求  */
export const getLogDetailApi=(id:IdType)=>getReq("/admin/log/detail",{id})

/**日志删除的请求  */
export const deleteLogApi=(body:IdType[])=>postReq("/admin/log/deleteByIds",body)